package com.cskaoyan.service;

import com.cskaoyan.bean.bo.WxglMallManagementControllerBo.IssueCreateBo;
import com.cskaoyan.bean.bo.WxglMallManagementControllerBo.KeywordListBo;
import com.cskaoyan.bean.bo.WxglMallManagementControllerBo.OrderListBo;
import com.cskaoyan.bean.bo.WxglMallManagementControllerBo.PostPermissionBo;
import com.cskaoyan.bean.common.BasePageInfo;
import com.cskaoyan.bean.common.CommonData;
import com.cskaoyan.bean.marketBean.MarketChannel;
import com.cskaoyan.bean.marketBean.MarketIssue;
import com.cskaoyan.bean.marketBean.MarketKeyword;
import com.cskaoyan.bean.vo.WxglMallManagementControllerVo.*;

import java.util.List;
import java.util.Map;

/**
 * @author wxgl
 * @date 2022-12-29 10:45
 * @describe
 */
public interface WxglMarketManagementService {
    CommonData<OrderListVo> orderList(OrderListBo orderListBo);

    List<MarketChannel> orderChannel();

    OrderDetailVo orderDetail(Integer id);

    int orderShip(Map map);

    int orderDelete(Integer orderId);

    void orderRefund(Map map);

    CommonData<ListEntityVo> issueList(BasePageInfo basePageInfo, String question);

    IssueCreateVo issueCreat(IssueCreateBo issueCreateBo);

    MarketIssue issueUpdate(MarketIssue marketIssue);

    int issueDelete(MarketIssue marketIssue);

    CommonData<KeywordListVo> keywordList(KeywordListBo keywordListBo);

    MarketKeyword keywordUpdate(MarketKeyword marketKeyword);

    MarketKeyword keywordCreate(MarketKeyword marketKeyword);

    void keywordDelete(MarketKeyword marketKeyword);


    PermissionVo rolePermissions(Integer roleId);

    void rolePermissionsPost(PostPermissionBo postPermissionBo);
}
